import axios from 'axios'
import request from '../utils/request'
import API from './constants'

/**
 * 获取统计数据信息
 * @returns
 */
export const getStatistics = () => request({
  url: API.STATISTIC_API,
})

export const getDisease = () => axios.get(API.DISEASE_API).then(resData => JSON.parse(resData.data.data))
